package com.zdw.demo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * CustomerDto对象
 * </p>
 *
 * @author 卓德文
 * @since 2023-04-05
 */
@Getter
@Setter
public class TestDto implements Serializable {

    @ApiModelProperty("ID")
    @NotBlank(message = "ID不能为空")
    private Integer id;

    @ApiModelProperty("SN")
    @NotBlank(message = "SN不能为空")
    private String sn;

}
